<?php
/**
 * 网页导航栏
 */
//左边主导航栏
$depth = array(
    0=>'销售管理',
    1=>'产品管理',
    2=>'交易管理',
    3=>'合作伙伴',
    4=>'系统管理',
    //5=>'财务管理',
    6=>'直销管理',
    7=>'码商管理',
    8=>'统计分析',
);
/**
 * 页面配置
 * pageTitle=>页面标题
 * parent=>父页面。如果是一级页面，则为“主导航栏”中对应的键，
 *                如果是二级页面，则为“父页面”的文件名。
 */
$pages = array(
    'home.html'=>array(
        'pageTitle'=>'',
        'parent'=>'',
    ),
    'terminal_chk.html'=>array(
        'pageTitle'=>'票券验证',
        'parent'=> 0,
    ),
    'tao_pi.html'=>array(
        'pageTitle'=>'淘宝卖家产品添加信息',
        'parent'=> 0,
    ),
    'tao_apply.html'=>array(
        'pageTitle'=>'去啊/淘宝/天猫配置',
        'parent'=> 3,
    ),
    'tao_tutorial.html'=>array(
        'pageTitle'=>'淘宝帮助文档',
        'parent' => 0,
    ),
	'wechat_tutorial.html'=>array(
        'pageTitle'=>'微信公众号配置帮助文档',
        'parent'=> 0,
    ),
    'wechat_tutorial.html'=>array(
        'pageTitle'=>'微信公众号配置帮助文档',
        'parent'=> 0,
    ),
	'wechat.html'=>array(
        'pageTitle'=>'微信公众号配置',
        'parent'=> 0,
    ),
	'exportCode.html'=>array(
        'pageTitle'=>'团购导码',
        'parent'=> 0,
    ),
    'plist.html'=>array(
        'pageTitle'=>'产品预订',
        'parent'=> 0,
    ),
    'buyProduct.html'=>array(
        'pageTitle'=>'已买到的产品',
        'parent'=> 0,
    ),
    'buyProduct_trans.html'=>array(
        'pageTitle'=>'买到的产品',
        'parent' => 0,
    ),
	'terchange.html'=>array(
        'pageTitle'=>'特殊订单处理',
        'parent'=> 0,
    ),
	'taobaolist.html'=>array(
        'pageTitle'=>'淘宝补单',
        'parent'=> 0,
    ),
    'saleProduct.html'=>array(
        'pageTitle'=>'已卖出的产品',
        'parent'=> 0,
    ),
    'saleProduct_trans.html'=>array(
        'pageTitle'=>'卖出的产品',
        'parent'=> 0,
    ),
	'productSale.html'=>array(
        'pageTitle'=>'游客预订',
        'parent'=> 0,
    ),
    'orderReport_Com.html'=>array(
        'pageTitle'=>'数据罗盘',
        'parent'=> 8,
    ),
    'prodlists.html'=>array(
        'pageTitle'=>'出售中的产品',
        'parent'=> 1,
    ),
    'prod_sale.html'=>array(
        'pageTitle'=>'转分销产品',
        'parent'=> 1,
    ),
    'prodlists_s.html'=>array(
        'pageTitle'=>'仓库中的产品',
        'parent'=> 1,
    ),
	'prodlists_uncomplete.html'=>array(
        'pageTitle'=>'待发布的产品',
        'parent'=> 1,
    ),
    'prod_type.html'=>array(
        'pageTitle'=>'产品发布',
        'parent'=> 1,
    ),
    'prod_edits.html'=>array(
        'pageTitle'=>'产品发布',
        'parent'=> 1,
    ),
    'product_package.html'=>array(
        'pageTitle'=>'套票产品打包',
        'parent'=>'prod_type.html',
    ),
    'ticket_edit.html'=>array(
        'pageTitle'=>'票类编辑',
        'parent'=> 1,
    ),
	'ticket_edit_tar.html'=>array(
        'pageTitle'=>'票类编辑',
        'parent'=> 1,
    ),
    'product_publish.html'=>array(
        'pageTitle'=>'添加票类',
        'parent'=> 1,
    ),
    'pi.html'=>array(
        'pageTitle'=>'产品详情',
        'parent'=> 1,
    ),
    'storageConfig.html' => array(
        'pageTitle'=>'库存配置',
        'parent'=> 1,
    ),
    'trecord.html' => array(
        'pageTitle'=>'交易记录',
        'parent'=> 2,
    ),
	'accountTrecord.html' => array(
        'pageTitle'=>'会员交易记录',
        'parent'=> 2,
    ),
    'accourtmanage.html' => array(
        'pageTitle'=>'账户管理',
        'parent'=> 2,
    ),
    'recharge.html' => array(
        'pageTitle'=>'账户充值',
        'parent'=> 2,
    ),
    'withdraw.html' => array(
        'pageTitle'=>'提现',
        'parent'=> 2,
    ),
    'partner.html' => array(
        'pageTitle'=>'合作管理',
        'parent'=> 3,
    ),
    'adjusting.html' => array(
        'pageTitle'=>'分销价格配置',
        'parent'=>'prodlists.html',
    ),
    'priceset.html' => array(
        'pageTitle'=>'分销商配置',
        'parent'=>'partner.html',
    ),
	'priceset_sale.html' => array(
        'pageTitle'=>'分销商配置',
        'parent'=>'partner.html',
    ),
    'tpllist.html' => array(
        'pageTitle'=>'模板管理',
        'parent'=>'partner.html',
    ),
    'distributor_add.html' => array(
        'pageTitle'=>'添加分销商',
        'parent'=> 3,
    ),
    'account_info.html'=>array(
        'pageTitle'=>'基本信息',
        'parent'=> 4,
    ),
    'set_verify.html'=>array(
        'pageTitle'=>'基本信息',
        'parent'=> 4,
    ),
    'certifi.html'=>array(
        'pageTitle'=>'资质认证',
        'parent'=> 4,
    ),
    'contact.html'=>array(
        'pageTitle'=>'联系方式',
        'parent'=> 4,
    ),
    'enterprise_info.html'=>array(
        'pageTitle'=>'企业信息',
        'parent'=> 4,
    ),
    'chPs.html' => array(
        'pageTitle'=>'修改密码',
        'parent'=> 4,
    ),
    'notice.html' => array(
        'pageTitle'=>'系统通知',
        'parent'   => 4,
    ),
    'soap.html' => array(
        'pageTitle'=>'对接接口',
        'parent'=> 4,
    ),
    'jt_access.html' => array(
        'pageTitle'=>'对接接口',
        'parent'=> 4,
    ),
	'qunaer.html' => array(
        'pageTitle'=>'去哪儿网店铺配置',
        'parent'=> 4,
    ),
	'Synchronous.html' => array(
        'pageTitle'=>'先行同步',
        'parent'=> 4,
    ),
	'getbill.html' => array(
        'pageTitle'=>'应收款账单',
        'parent'=> 3,
    ),
    'paybill.html' => array(
        'pageTitle'=>'应付款账单',
        'parent'=> 3,
    ),
	'bill_count.html' => array(
        'pageTitle'=>'账单汇总',
        'parent'=>5,
    ),
    'bill_detail.html' => array(
        'pageTitle'=>'账单明细',
        'parent'=>5,
    ),
	'settle_config.html'=> array(
        'pageTitle'=>'账单周期配置',
        'parent'=> 3,
    ),
    'bill_offline.html'=> array(
        'pageTitle'=>'支付账单',
        'parent'   => 5,
    ),
    'noticed.html'=> array(
        'pageTitle'=>'通知详情',
        'parent'=> 'notice.html',
    ),
    'Sendnotice.html'=> array(
        'pageTitle'=>'发布通知',
        'parent'=> 'notice.html',
    ),
	 'orderView.html' => array(
        'pageTitle'=>'订单详情',
        'parent'=>'0',
    ),
	'productOrder.html' => array(
        'pageTitle'=>'填写订单',
        'parent'=>'plist.html',
    ),
	'scenicDetail.html' => array(
        'pageTitle'=>'散客预订',
        'parent'=>'plist.html',
    ),
	'withdraw_record.html' => array(
        'pageTitle'=>'提现记录',
        'parent'=>'withdraw.html',
    ),
	'orderSuc.html' => array(
        'pageTitle'=>'下单成功',
        'parent'=> 0,
    ),
	'addtpl.html' => array(
        'pageTitle'=>'添加模板',
        'parent'=> 0,
    ),
	'tpllist.html' => array(
        'pageTitle'=>'模板列表',
        'parent'=> 3,
    ),
	'fees.html' => array(
        'pageTitle'=>'费用配置',
        'parent'=> 0,
    ),
	'orderReport.html' => array(
        'pageTitle'=>'销售报表',
        'parent'=> 8,
    ),
	'buyOrderReport.html' => array(
        'pageTitle'=>'购买报表',
        'parent'=> 8,
    ),
	'release.html' => array(
        'pageTitle'=>'分销价格配置',
        'parent'=>'prodlists.html',
    ),
	'userinfo.html' => array(
        'pageTitle'=>'查看用户信息',
        'parent'=>'partner.html',
    ),
    'group_add.html' => array(
        'pageTitle'=>'添加集团',
        'parent'=> 3,
    ),
	'repayment.html' => array(
        'pageTitle'=>'分销授信/预存',
        'parent'=>'partner.html',
    ),
	'operlist.html' => array(
        'pageTitle'=>'员工管理',
        'parent'=> 4,
    ),
	'operatorRecord.html' => array(
        'pageTitle'=>'操作日志',
        'parent'=> 4,
    ),
	'g_info.html' => array(
        'pageTitle'=>'详情',
        'parent'=> 3,
    ),
	'powguanli.html' => array(
        'pageTitle'=>'权限管理',
        'parent'=>'operlist.html',
    ),
	'rechDist.html' => array(
        'pageTitle'=>'线下充值',
        'parent'=> 3,
    ),
	'transfer.html' => array(
        'pageTitle'=>'转账',
        'parent'=> 2,
    ),
	'rrecord.html' => array(
        'pageTitle'=>'分销商资金记录',
        'parent'=>'partner.html',
    ),
	'lmoney.html' => array(
        'pageTitle'=>'成员资金查看',
        'parent'=>'partner.html',
    ),
	'supply_apply.html' => array(
        'pageTitle'=>'供应商申请',
        'parent'=> 3,
    ),
	'tao_manage.html' => array(
        'pageTitle'=>'码商管理',
        'parent'=> 7,
    ),
	'qunaer_manage.html' => array(
        'pageTitle'=>'去哪儿商家管理',
        'parent'=> 7,
    ),
	'code2Order.html' => array(
		'pageTitle'=>'反查订单',
		'parent'=> 0,
	),
	'smsConfig.html'=>array(
		'pageTitle'=>'短信模板',
		'parent'=> 4,
	),
	'updata_notice.html'=>array(
		'pageTitle'=>'发布系统公告',
		'parent'=> 4,
	),
	'ver_add.html'=>array(
		'pageTitle'=>'更新公告管理',
		'parent'=> 'updata_notice.html',
	),
	'version_list.html'=>array(
		'pageTitle'=>'更新公告',
		'parent'=> '4',
	),
	'version.html'=>array(
		'pageTitle'=>'更新详情',
		'parent'=> 'version_list.html',
	),
	'product_publish_tar.html'=>array(
        'pageTitle'=>'添加票类',
        'parent'=> 1,
    ),
	'refund.html'=>array(
        'pageTitle'=>'提现申请列表',
        'parent'=> 2,
    ),
	'avatar.html'=>array(
        'pageTitle'=>'修改头像',
        'parent'=> 4,
    ),
	'operPass.html'=>array(
        'pageTitle'=>'员工密码重设',
        'parent'=> 4,
    ),
    'orderReport_land.html'=>array(
        'pageTitle'=>'销售报表',
        'parent'=> 8,
    ),
	'saleProduct_land.html'=>array(
        'pageTitle'=>'卖出的产品',
        'parent'=> 0,
    ),
    'ali_refund.html' => array(
        'pageTitle'=>'会员退款审核',
        'parent'=> 3,
    ),
    'domainConf.html' => array(
        'pageTitle'=>'B2C店铺配置',
        'parent'=> 6,
    ),
    'alliance_add.html' => array(
        'pageTitle'=>'添加联盟',
        'parent'=> 3,
    ),
	'loadExcel.html'=>array(
        'pageTitle'=>'数据导出',
        'parent'=> 0,
    ),
);
// if($access['yd'])unset($pages['paybill.html']);
// var_dump($access['yd']);

